package com.gs.user.config;

import com.netflix.loadbalancer.*;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@Slf4j
public class CustomConfiguration {
//    @Bean
//    public IRule ribbonRule() {
//        log.info("ribbon");
//        return new BestAvailableRule();
//    }
//
//    @Bean
//    public IPing ribbonPing() {
//        return new PingUrl();
//    }
//
////    @Bean
////    public ServerList<Server> ribbonServerList(IClientConfig config) {
////        return new RibbonClientDefaultConfigurationTestsConfig.BazServiceList(config);
////    }
//
//    @Bean
//    public ServerListSubsetFilter serverListFilter() {
//        ServerListSubsetFilter filter = new ServerListSubsetFilter();
//        return filter;
//    }

}
